<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<title>短信平台-首页</title>
<link rel="stylesheet" href="/workflow/resource/src/layui/css/layui.css">
<script src="/workflow/resource/src/js/jquery-3.2.1.min.js"></script>
<script src="/workflow/resource/src/layui/layui.js"></script>
<script src="/workflow/resource/src/js/user.js"></script>

</head>

<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo">蔡家短信平台管理后台</div>
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item"><img
						src="/workflow/resource/img/toux.jpg" class="layui-nav-img">管理员${sessionScope.user.name }</li>
				<li class="layui-nav-item"><a href="/workflow/userManager/exit">退出</a></li>
			</ul>
		</div>
		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll">
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav-tree" lay-filter="test">
					 <%@ include file="menu.jsp" %> 
				</ul>
			</div>
		</div>
		<!--框架头部-->
		<div class="layui-body">

			<div style="padding: 15px;">
				<div class="layui-form">
					<div class="layui-form-item">
						<a class="layui-btn" id="addbut"><i class="layui-icon">&#xe608;</i>添加</a>
						
					</div>
					<div class="layui-form-item">
						<div class="layui-input-inline ">
							<input id="name" type="text" placeholder="名称" autocomplete="off"
								class="layui-input">
						</div>
						<button id="searchB" class="layui-btn">搜索</button>
					</div>
				</div>
				<!-- 内容主体区域 star-->
				<table class="layui-hide" id="test" lay-filter="demo"></table>
				<script type="text/html" id="barDemo">
                       <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="edit">编辑</a>
						<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
				</script><!--  <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a> -->
				<!-- 内容主体区域 end-->
			</div>
		</div>
		<!--框架底部-->
		<div class="layui-footer">
			<!-- 底部固定区域 -->
			© 蔡家短信平台管理后台
		</div>
	</div>
	<!--弹出层 添加表单-->

	<form id="formI" class="layui-form layui-hide" method="post">
		<br>
		<div id="username" class="layui-form-item">
			<label class="layui-form-label">账号名</label>
			<div class="layui-input-inline">
				<input  type="text" name="name" lay-verify="required|username"
					placeholder="请输入" autocomplete="off" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">请输入3-6位的字符与数字</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">密码</label>
			<div class="layui-input-inline">
				<input type="password" name="password" lay-verify="required|pass"
					placeholder="请输入" autocomplete="off" class="layui-input">
			</div>
			<div class="layui-form-mid layui-word-aux">请输入7-12位的字符与数字</div>
		</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button id="butSubmit" lay-submit lay-filter="*" class="layui-btn">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
</body>

</html>